<template>
  <div>
      我是组件2 --- {{ count }}
      <Three/>
  </div>
</template>

<script>
import Three from './Three.vue'
export default {
    components: {
        Three
    },
    data() {
        return {
            count: null
        }
    },
    created() {
        this.$bus.on('send', (value) => {
            this.count = value
        })
    }
}
</script>

<style>

</style>